package com.hbx.platform.auth.service;

import com.hbx.platform.auth.Dto.RoleDto;
import com.hbx.platform.auth.domain.Permission;
import com.hbx.platform.auth.domain.Role;
import com.hbx.platform.base.service.IBaseService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hbx
 * @since 2024-04-06
 */
public interface IRoleService extends IBaseService<Role> {

    void saveTree(RoleDto roleDto);

    void updateTree(RoleDto roleDto);

    List<Long> getPermissionsId(Long id);
}
